<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="js/browser.js"></script>
		<script src="js/react.js"></script>
		<script src="js/react-dom.js"></script>
	</head>
	<body>
		<div id="app">
			
		</div>
		<script type="text/babel">
			let app = document.querySelector("#app");
			class Ab extends React.Component{
				constructor(...args){
					super(...args);
				}
				render(){
					console.log(this.props)//{data: Array(5)}
					 let ali = this.props.data.map((v,index)=><li key={index}>{v}</li>)
					return <ul>{ali}</ul>
				}
			}
			
			
			 ReactDOM.render(<Ab data={[52,82,96,41,6]}></Ab>,app);
		</script>
	</body>
</html>
